import {useRouter} from "vue-router";

const router = useRouter()
export const backHome = (num:number)=>{
	//#ifdef H5
	router.push(`/page/home/home?type=${num}`)
	//#endif
	//#ifdef APP-PLUS
	uni.navigateTo({
		url:`/page/home/home?type=${num}`
	})
	//#endif
}
